package com.fz.song.mapping;

import com.fz.song.pojo.SysResource;

import java.util.List;

public interface SysResourceMapper {
    int deleteByPrimaryKey(Integer sysid);

    int insert(SysResource record);

    int insertSelective(SysResource record);

    SysResource selectByPrimaryKey(Integer sysid);

    int updateByPrimaryKeySelective(SysResource record);

    int updateByPrimaryKey(SysResource record);

    List<SysResource> getTopResource();

    List<SysResource> getTopResourceByPid(Integer pid);

    List<SysResource> getTopResourceAll();

    List<SysResource> getMyResource(int userid);
}